import api from "@/api";

// 首页数据
export async  function getHomeBase(){
    let res = await api({url:'/api/index/index', method:'post'})
    return res.data
}

// 用户登录
export async function LoginApi(data){
    let res = await api({url:'/api/user/login',method:'post',data})
}